package com.ruoyi.place.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 行业场所对象 xlkj_place
 *
 * @author wang
 * @date 2022-01-12
 */
public class XlkjPlace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 行业场所照片 */
    @Excel(name = "行业场所照片")
    private String img;

    /** 场所名称 */
    @Excel(name = "场所名称")
    private String placeName;

    /** 场所地址 */
    @Excel(name = "场所地址")
    private String placeAddress;

    /** 场所简介 */
    @Excel(name = "场所简介")
    private String placeBrief;

    /** 负责人姓名 */
    @Excel(name = "负责人姓名")
    private String name;

    /** 负责人联系方式 */
    @Excel(name = "负责人联系方式")
    private String phone;

    /** 负责人证件类型 */
    @Excel(name = "负责人证件类型")
    private String certificatesType;

    /** 负责人证件号码 */
    @Excel(name = "负责人证件号码")
    private String certificatesNum;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String socialCode;

    /** 登记证号 */
    @Excel(name = "登记证号")
    private String registerNum;

    /** 行业场所类型 */
    @Excel(name = "行业场所类型")
    private String siteType;

    /** 是否危化企业 */
    @Excel(name = "是否危化企业")
    private String dangerStatus;

    /** 消防等级 */
    @Excel(name = "消防等级")
    private String controlType;

    /** 风险等级 */
    @Excel(name = "风险等级")
    private String riskType;

    /** 采集类型 */
    @Excel(name = "采集类型")
    private String collectType;

    /**
     * 所属网格
     * @param id
     */
    @Excel(name = "所属网格")
    private String departmentId;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private String status;

    /** 上报者id */
    @Excel(name = "上报者")
    private Long userId;

    private String username;

    private SysUser sysUser;

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    private String departmentList;

    public String getDepartmentList() {
        return departmentList;
    }

    public void setDepartmentList(String departmentList) {
        this.departmentList = departmentList;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getCollectType() {
        return collectType;
    }

    public void setCollectType(String collectType) {
        this.collectType = collectType;
    }

    public String getImg()
    {
        return img;
    }
    public void setPlaceName(String placeName)
    {
        this.placeName = placeName;
    }

    public String getPlaceName()
    {
        return placeName;
    }
    public void setPlaceAddress(String placeAddress)
    {
        this.placeAddress = placeAddress;
    }

    public String getPlaceAddress()
    {
        return placeAddress;
    }
    public void setPlaceBrief(String placeBrief)
    {
        this.placeBrief = placeBrief;
    }

    public String getPlaceBrief()
    {
        return placeBrief;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setCertificatesType(String certificatesType)
    {
        this.certificatesType = certificatesType;
    }

    public String getCertificatesType()
    {
        return certificatesType;
    }
    public void setCertificatesNum(String certificatesNum)
    {
        this.certificatesNum = certificatesNum;
    }

    public String getCertificatesNum()
    {
        return certificatesNum;
    }
    public void setSocialCode(String socialCode)
    {
        this.socialCode = socialCode;
    }

    public String getSocialCode()
    {
        return socialCode;
    }
    public void setRegisterNum(String registerNum)
    {
        this.registerNum = registerNum;
    }

    public String getRegisterNum()
    {
        return registerNum;
    }
    public void setSiteType(String siteType)
    {
        this.siteType = siteType;
    }

    public String getSiteType()
    {
        return siteType;
    }
    public void setDangerStatus(String dangerStatus)
    {
        this.dangerStatus = dangerStatus;
    }

    public String getDangerStatus()
    {
        return dangerStatus;
    }
    public void setControlType(String controlType)
    {
        this.controlType = controlType;
    }

    public String getControlType()
    {
        return controlType;
    }
    public void setRiskType(String riskType)
    {
        this.riskType = riskType;
    }

    public String getRiskType()
    {
        return riskType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("img", getImg())
            .append("placeName", getPlaceName())
            .append("placeAddress", getPlaceAddress())
            .append("placeBrief", getPlaceBrief())
            .append("name", getName())
            .append("phone", getPhone())
            .append("certificatesType", getCertificatesType())
            .append("certificatesNum", getCertificatesNum())
            .append("socialCode", getSocialCode())
            .append("registerNum", getRegisterNum())
            .append("siteType", getSiteType())
            .append("dangerStatus", getDangerStatus())
            .append("controlType", getControlType())
            .append("riskType", getRiskType())
            .append("collectType",getCollectType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
